<!--  募集资金来源 -->
<template>
  <div class="table w1021">
    <div class="tableTh tableTr flex">
      <span class="tableTd w220">募集资金公告日</span>
      <span class="tableTd w220">资金来源</span>
      <span class="tableTd w220">预计募集资金总额（万元）</span>
      <span class="tableTd w220">股票简称</span>
      <span class="tableTd w220">股票类别</span>
    </div>
    <div class="tableTr tableBody top flex" v-for="(item,index) in data" :key="index">
      <span class="orange tableTd w220">{{item.declareDate|filterVal}}</span>
      <span class="orange tableTd w220">{{item.capSrc|filterVal}}</span>
      <span class="orange tableTd w220">{{item.clctPlan|filterVal("numberNo")}}</span>
      <span class="orange tableTd w220">{{item.aStockSname|filterVal}}</span>
      <span class="orange tableTd w220">{{item.stkType|filterVal}}</span>
    </div>
    <div class="tableNone orange w1021 top" v-if="data.length==0">暂无数据</div>
  </div>
</template>

<script>
import { numberNo } from "../../script/api";
export default {
  data() {
    return {};
  },
  props: ["data"],
  filters: {
    filterVal(ops, num) {
      if (typeof ops == "number") {
        return numberNo(ops, num);
      }
      return ops ? ops : "--";
    }
  },
  components: {},
  computed: {},
  mounted() {},
  methods: {}
};
</script>
<style lang='scss' scoped>
</style>